package edu.sandau.app.basic.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.Date;

@Schema(description = "菜品实体")
public class Dish {
    @Schema(description = "菜品ID", hidden = true)
    private Long dishId;

    @Schema(description = "菜品名称", required = true)
    private String dishName;

    @Schema(description = "菜品类型")
    private String dishType;

    @Schema(description = "菜品价格")
    private BigDecimal dishPrice;

    @Schema(description = "菜品图片")
    private String dishImage;

    @Schema(description = "菜品规格")
    private String dishSpecification;

    @Schema(description = "菜品状态: 0=正常, 1=停售", allowableValues = {"0", "1"})
    private String dishStatus;

    @Schema(description = "销售数量")
    private Integer salesCount;

    @Schema(description = "创建时间", hidden = true)
    private Date createTime;

    @Schema(description = "更新时间", hidden = true)
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;

    public Long getDishId() {
        return dishId;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getDishType() {
        return dishType;
    }

    public void setDishType(String dishType) {
        this.dishType = dishType;
    }

    public BigDecimal getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(BigDecimal dishPrice) {
        this.dishPrice = dishPrice;
    }

    public String getDishImage() {
        return dishImage;
    }

    public void setDishImage(String dishImage) {
        this.dishImage = dishImage;
    }

    public String getDishSpecification() {
        return dishSpecification;
    }

    public void setDishSpecification(String dishSpecification) {
        this.dishSpecification = dishSpecification;
    }

    public String getDishStatus() {
        return dishStatus;
    }

    public void setDishStatus(String dishStatus) {
        this.dishStatus = dishStatus;
    }

    public Integer getSalesCount() {
        return salesCount;
    }

    public void setSalesCount(Integer salesCount) {
        this.salesCount = salesCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}